package test1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86131
 * Date: 2023-11-14
 * Time: 17:17
 */
public class GirlFriendTest {
    //创建对象
    public static void main(String[] args) {
        GirlFriend a = new GirlFriend();
        a.setName("蔡军");
        a.setAge(26);
        a.setGender("man");
        System.out.println(a.getName());
        System.out.println(a.getAge());
        System.out.println(a.getGender());
        a.sleep();
        a.eat();
    }
}
